package com.rxh.pojo.base;





import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <pre>
 * 领域对象基类
 * </pre>
 * 
 * @author xuzm
 * @version 1.00
 */
public class BaseObject<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    
    // 主键ID
    private T id;
    
    // 角色ID - add by xuzm
    private String roleId;
    
    // 创建者
    private String creator;
    
    // 创建时间
    private Timestamp createTime;
    
    /** 最后操作人 **/
    private String modifier;
    
    // 更新时间
    private Timestamp modifyTime;
    
    
    public BaseObject() {
    }
    
    public BaseObject(T id) {
        super();
        this.id = id;
    }
    
    public T getId() {
        return id;
    }
    
    public void setId(T id) {
        this.id = id;
    }
       
    public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getCreator() {
        return creator;
    }
    
    public void setCreator(String creator) {
        this.creator = creator;
    }
    
    public Timestamp getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    
    public String getModifier() {
        return modifier;
    }
    
    public void setModifier(String modifier) {
        this.modifier = modifier;
    }
    
    public Timestamp getModifyTime() {
        return modifyTime;
    }
    
    public void setModifyTime(Timestamp modifyTime) {
        this.modifyTime = modifyTime;
    }
}
